//歌单详情页接口
import { get } from "@/request";

export function getMusicItemList(id) {
    return get('/playlist/detail', {id})
}


//获取歌单的歌曲
export function getItemList(id) {
    const STATIC_PARAMS = {
        limit: 20,
        offset: 0,
    }
    return get('/playlist/track/all', {
        id: id,
        ...STATIC_PARAMS,
    })
}

//获取歌词 /lyric?id=33894312
export function getMusicLyric(id) {
    return get('/lyric', { id })
}